package com.xydtech.ecard.merchant.domain;

/*
 * 电子名片客户经理实体类
 *@author lin
 *@version 1.0
 *@create 2023/8/2 9:42
 */
import com.xydtech.common.annotation.Excel;
import com.xydtech.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;

import java.util.Date;

public class EcardUser extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 注册编号 */
    @Excel(name = "注册编号")
    private Long registId;

    /** 注册时间 */
    @Excel(name = "注册时间")
    private Date registTime;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String userName;

    /** 员工编号 */
    @Excel(name = "员工编号")
    private String userCode;

    /** 部门编号 */
    @Excel(name = "部门编号")
    private Long deptId;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String deptName;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phonenumber;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String cardnum;

    public Long getRegistId() {
        return registId;
    }

    public void setRegistId(Long registId) {
        this.registId = registId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getCardnum() {
        return cardnum;
    }

    public void setCardnum(String cardnum) {
        this.cardnum = cardnum;
    }

    public Date getRegistTime() {
        return registTime;
    }

    public void setRegistTime(Date registTime) {
        this.registTime = registTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this)
                .append("registId", registId)
                .append("registTime", registTime)
                .append("userName", userName)
                .append("userCode", userCode)
                .append("deptId", deptId)
                .append("deptName", deptName)
                .append("phonenumber", phonenumber)
                .append("userId", userId)
                .append("cardnum", cardnum)
                .toString();
    }
}
